package com.four.bergain.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author gs
 * @since 2021-12-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bar_bargain_people")
public class BargainPeople extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 砍价id
     */
    @TableId(value = "bar_peo_id", type = IdType.AUTO)
    private Integer barPeoId;

    /**
     * 砍价人编号
     */
    private Integer userId;

    /**
     * 砍价人名称
     */
    private String userName;

    /**
     * 帮谁砍
     */
    private Integer berUid;

    /**
     * 砍多少价格
     */
    private BigDecimal bergainPrice;

    /**
     * 砍价时间
     */
    private Date bergainCreateTime;


}
